package cn.lds.healthj377.mapper;

import cn.lds.healthj377.domain.User;

import java.util.List;

public interface UserMapper {

    List<User> selectUserAll(User user);

    User selectUserById(Integer id);

    User loginUser(User user);

    /**
     * 添加用户
     * @param user
     * @return
     */
    int addUser(User user);

    int regUser(User user);

    int modifyUser(User user);

    int removeUserById(Integer id);


}
